package com.edu.edumanager.constant;

/**
 * @program: springboot1
 * @description:
 * @author: Jaime
 * @create: 2021-08-01 00:38
 **/
public interface   EduConstant {;
    //成功
    public static final int SUCCESS=200;
    //失败
    public static final int ERROR =500;
    //分页
    public static final int PAGESIZE =10;
    //用户名或密码错误
    public static final int LOGINERROR =20002;
    //权限不足
    public static final int ACCESSERROR =20003;
    //远程调用失败
    public static final int REMOTEERROR =20004;
    //重复操作
    public static final int REPERROR =20005;

    //重复操作
    String IMAGEFILE = "G:\\Img";

    String VIDEOFILE = "G:\\Img";

    String HOST = "http://localhost:88/";


    //上传电影封面指定大小  30MB
    public static final long MAX_PHOTO_SIZE = 30 * 1024 * 1024;
    //上传电影资源指定大小  5GB
    public static final Long MAX_FILM_SIZE = 5 * 1024 * 1024 * 1024L;


}
